home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8115 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 0a | 50 61 74 68 3a 20 63 64 |.lang.c.|Path: cd|
|00000020| 66 2e 74 6f 72 6f 6e 74 | 6f 2e 65 64 75 21 6e 65 |f.toront|o.edu!ne|
|00000030| 77 73 0a 46 72 6f 6d 3a | 20 44 61 72 72 65 6c 6c |ws.From:| Darrell|
|00000040| 20 47 72 61 69 6e 67 65 | 72 20 3c 61 33 37 38 67 | Grainge|r <a378g|
|00000050| 72 61 69 40 63 64 66 2e | 74 6f 72 6f 6e 74 6f 2e |rai@cdf.|toronto.|
|00000060| 65 64 75 3e 0a 53 75 62 | 6a 65 63 74 3a 20 52 65 |edu>.Sub|ject: Re|
|00000070| 3a 20 45 78 70 6c 61 69 | 6e 20 74 68 69 73 3e 20 |: Explai|n this> |
|00000080| 25 73 20 5c 22 25 5b 5e | 5c 22 5d 5c 22 20 0a 49 |%s \"%[^|\"]\" .I|
|00000090| 6e 2d 52 65 70 6c 79 2d | 54 6f 3a 20 3c 34 68 32 |n-Reply-|To: <4h2|
|000000a0| 74 36 75 24 76 35 36 40 | 75 73 65 6e 65 74 61 31 |t6u$v56@|useneta1|
|000000b0| 2e 6e 65 77 73 2e 70 72 | 6f 64 69 67 79 2e 63 6f |.news.pr|odigy.co|
|000000c0| 6d 3e 20 0a 58 2d 53 65 | 6e 64 65 72 3a 20 61 33 |m> .X-Se|nder: a3|
|000000d0| 37 38 67 72 61 69 40 65 | 64 64 69 65 0a 43 6f 6e |78grai@e|ddie.Con|
|000000e0| 74 65 6e 74 2d 54 79 70 | 65 3a 20 54 45 58 54 2f |tent-Typ|e: TEXT/|
|000000f0| 50 4c 41 49 4e 3b 20 63 | 68 61 72 73 65 74 3d 55 |PLAIN; c|harset=U|
|00000100| 53 2d 41 53 43 49 49 0a | 4d 65 73 73 61 67 65 2d |S-ASCII.|Message-|
|00000110| 49 44 3a 20 3c 50 69 6e | 65 2e 53 4f 4c 2e 33 2e |ID: <Pin|e.SOL.3.|
|00000120| 39 30 2e 39 36 30 33 30 | 31 31 31 35 34 33 39 2e |90.96030|1115439.|
|00000130| 32 37 31 30 37 45 2d 31 | 30 30 30 30 30 40 65 64 |27107E-1|00000@ed|
|00000140| 64 69 65 3e 0a 53 65 6e | 64 65 72 3a 20 6e 65 77 |die>.Sen|der: new|
|00000150| 73 40 63 64 66 2e 74 6f | 72 6f 6e 74 6f 2e 65 64 |s@cdf.to|ronto.ed|
|00000160| 75 20 28 55 73 65 6e 65 | 74 20 4e 65 77 73 29 0a |u (Usene|t News).|
|00000170| 4e 6e 74 70 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |Nntp-Pos|ting-Hos|
|00000180| 74 3a 20 65 64 64 69 65 | 0a 4f 72 67 61 6e 69 7a |t: eddie|.Organiz|
|00000190| 61 74 69 6f 6e 3a 20 55 | 6e 69 76 65 72 73 69 74 |ation: U|niversit|
|000001a0| 79 20 6f 66 20 54 6f 72 | 6f 6e 74 6f 20 43 6f 6d |y of Tor|onto Com|
|000001b0| 70 75 74 69 6e 67 20 44 | 69 73 63 69 70 6c 69 6e |puting D|isciplin|
|000001c0| 65 73 20 46 61 63 69 6c | 69 74 79 0a 52 65 66 65 |es Facil|ity.Refe|
|000001d0| 72 65 6e 63 65 73 3a 20 | 3c 34 68 32 74 36 75 24 |rences: |<4h2t6u$|
|000001e0| 76 35 36 40 75 73 65 6e | 65 74 61 31 2e 6e 65 77 |v56@usen|eta1.new|
|000001f0| 73 2e 70 72 6f 64 69 67 | 79 2e 63 6f 6d 3e 20 0a |s.prodig|y.com> .|
|00000200| 4d 69 6d 65 2d 56 65 72 | 73 69 6f 6e 3a 20 31 2e |Mime-Ver|sion: 1.|
|00000210| 30 0a 44 61 74 65 3a 20 | 46 72 69 2c 20 31 20 4d |0.Date: |Fri, 1 M|
|00000220| 61 72 20 31 39 39 36 20 | 31 37 3a 30 33 3a 31 34 |ar 1996 |17:03:14|
|00000230| 20 47 4d 54 0a 0a 4f 6e | 20 32 39 20 46 65 62 20 | GMT..On| 29 Feb |
|00000240| 31 39 39 36 2c 20 44 61 | 76 69 64 20 43 75 6e 6e |1996, Da|vid Cunn|
|00000250| 69 6e 67 68 61 6d 20 77 | 72 6f 74 65 3a 0a 0a 3e |ingham w|rote:..>|
|00000260| 20 49 20 68 61 76 65 20 | 61 20 66 69 6c 65 20 74 | I have |a file t|
|00000270| 68 61 74 20 63 6f 6e 74 | 61 69 6e 73 20 74 65 78 |hat cont|ains tex|
|00000280| 74 20 6c 69 6b 65 20 74 | 68 69 73 3a 0a 3e 20 0a |t like t|his:.> .|
|00000290| 3e 20 30 31 32 33 34 35 | 36 37 38 20 20 20 20 20 |> 012345|678 |
|000002a0| 22 4a 6f 65 20 20 53 6d | 69 74 68 22 0a 3e 20 0a |"Joe Sm|ith".> .|
|000002b0| 3e 20 49 20 61 6c 73 6f | 20 68 61 76 65 20 61 6e |> I also| have an|
|000002c0| 20 65 78 61 6d 70 6c 65 | 20 6f 66 20 73 73 63 61 | example| of ssca|
|000002d0| 6e 66 20 74 6f 20 70 69 | 63 6b 20 6f 75 74 20 74 |nf to pi|ck out t|
|000002e0| 68 65 73 65 20 66 69 65 | 6c 64 73 2e 20 43 61 6e |hese fie|lds. Can|
|000002f0| 20 73 6f 6d 65 6f 6e 65 | 20 0a 3e 20 74 72 61 6e | someone| .> tran|
|00000300| 73 6c 61 74 65 20 77 68 | 61 74 20 20 5c 22 25 5b |slate wh|at \"%[|
|00000310| 5e 5c 22 5d 5c 22 25 64 | 22 20 20 6d 65 61 6e 73 |^\"]\"%d|" means|
|00000320| 2e 20 49 20 6e 65 65 64 | 20 74 6f 20 68 61 76 65 |. I need| to have|
|00000330| 20 61 20 67 6f 6f 64 20 | 75 6e 64 65 72 73 74 61 | a good |understa|
|00000340| 6e 64 69 6e 67 20 0a 3e | 20 6f 66 20 74 68 69 73 |nding .>| of this|
|00000350| 20 66 6f 72 20 61 20 68 | 6f 6d 65 77 6f 72 6b 20 | for a h|omework |
|00000360| 61 73 73 69 67 6e 6d 65 | 6e 74 2e 20 49 74 20 6c |assignme|nt. It l|
|00000370| 6f 6f 6b 73 20 6c 69 6b | 65 20 74 68 69 73 3a 0a |ooks lik|e this:.|
|00000380| 3e 20 0a 3e 20 73 73 63 | 61 6e 66 28 62 75 66 66 |> .> ssc|anf(buff|
|00000390| 2c 22 25 73 20 5c 20 22 | 25 5b 5e 5c 22 5d 5c 22 |,"%s \ "|%[^\"]\"|
|000003a0| 20 25 64 22 2c 73 74 75 | 64 65 6e 74 5f 6c 69 73 | %d",stu|dent_lis|
|000003b0| 74 2d 3e 73 73 5f 6e 75 | 6d 2c 73 74 75 64 65 6e |t->ss_nu|m,studen|
|000003c0| 74 5f 6c 69 73 74 2d 3e | 6e 61 6d 65 29 3b 0a 3e |t_list->|name);.>|
|000003d0| 20 0a 3e 20 50 6c 65 61 | 73 65 20 65 78 70 6c 61 | .> Plea|se expla|
|000003e0| 69 6e 20 77 68 61 74 20 | 74 68 65 73 65 20 68 69 |in what |these hi|
|000003f0| 65 72 6f 67 6c 79 70 68 | 69 63 73 20 6d 65 61 6e |eroglyph|ics mean|
|00000400| 2c 20 63 68 61 72 61 63 | 74 65 72 20 62 79 20 63 |, charac|ter by c|
|00000410| 68 61 72 61 63 74 65 72 | 2e 0a 3e 20 0a 3e 20 54 |haracter|..> .> T|
|00000420| 68 65 20 73 73 63 61 6e | 66 20 77 69 6c 6c 20 70 |he sscan|f will p|
|00000430| 72 6f 64 75 63 65 20 74 | 68 69 73 2d 2d 3e 20 30 |roduce t|his--> 0|
|00000440| 31 32 33 34 35 36 37 38 | 20 20 4a 6f 65 20 53 6d |12345678| Joe Sm|
|00000450| 69 74 68 0a 3e 20 0a 3e | 20 50 6c 65 61 73 65 20 |ith.> .>| Please |
|00000460| 64 6f 6e 27 74 20 65 6d | 61 69 6c 2c 20 70 6f 73 |don't em|ail, pos|
|00000470| 74 20 74 68 65 20 61 6e | 73 77 65 72 2c 20 74 68 |t the an|swer, th|
|00000480| 61 6e 6b 73 2e 0a 0a 54 | 68 65 72 65 20 61 70 70 |anks...T|here app|
|00000490| 65 61 72 73 20 74 6f 20 | 62 65 20 61 20 73 79 6e |ears to |be a syn|
|000004a0| 74 61 78 20 65 72 72 6f | 72 20 69 6e 20 74 68 65 |tax erro|r in the|
|000004b0| 20 61 63 74 75 61 6c 20 | 73 73 63 61 6e 66 20 63 | actual |sscanf c|
|000004c0| 61 6c 6c 2e 20 49 20 74 | 68 69 6e 6b 20 79 6f 75 |all. I t|hink you|
|000004d0| 0a 77 61 6e 74 20 74 68 | 61 74 20 74 6f 20 72 65 |.want th|at to re|
|000004e0| 61 64 3a 0a 0a 09 73 73 | 63 61 6e 66 28 62 75 66 |ad:...ss|canf(buf|
|000004f0| 66 2c 22 25 73 20 5c 22 | 25 5b 5e 5c 22 5d 5c 22 |f,"%s \"|%[^\"]\"|
|00000500| 20 25 64 22 2c 20 2e 2e | 2e 0a 09 20 20 20 20 20 | %d", ..|... |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 5e 5e 0a 09 20 | | ^^.. |
|00000520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6e | | n|
|00000530| 6f 20 65 78 74 72 61 20 | 73 70 61 63 65 20 62 65 |o extra |space be|
|00000540| 74 77 65 65 6e 20 5c 20 | 61 6e 64 20 22 0a 0a 54 |tween \ |and "..T|
|00000550| 68 61 74 20 61 73 69 64 | 65 2c 20 68 65 72 65 20 |hat asid|e, here |
|00000560| 69 73 20 77 68 61 74 20 | 5c 22 25 5b 5e 5c 22 5d |is what |\"%[^\"]|
|00000570| 5c 22 25 64 20 6d 65 61 | 6e 73 3a 0a 0a 09 5c 22 |\"%d mea|ns:...\"|
|00000580| 09 67 65 74 20 61 20 64 | 6f 75 62 6c 65 20 71 75 |.get a d|ouble qu|
|00000590| 6f 74 65 0a 0a 09 25 5b | 5e 5c 22 5d 09 25 5b 5d |ote...%[|^\"].%[]|
|000005a0| 20 73 61 79 73 20 74 6f | 20 67 65 74 20 77 68 61 | says to| get wha|
|000005b0| 74 65 76 65 72 20 61 70 | 70 65 61 72 73 20 69 6e |tever ap|pears in|
|000005c0| 73 69 64 65 20 74 68 65 | 20 5b 5d 0a 09 09 25 5b |side the| []...%[|
|000005d0| 5e 5d 20 73 61 79 73 20 | 74 6f 20 67 65 74 20 65 |^] says |to get e|
|000005e0| 76 65 72 79 74 68 69 6e | 67 20 42 55 54 20 77 68 |verythin|g BUT wh|
|000005f0| 61 74 20 61 70 70 65 61 | 72 73 20 69 6e 73 69 64 |at appea|rs insid|
|00000600| 65 20 74 68 65 20 5b 5d | 0a 09 09 73 6f 20 25 5b |e the []|...so %[|
|00000610| 5e 5c 22 5d 20 73 61 79 | 73 20 67 65 74 20 65 76 |^\"] say|s get ev|
|00000620| 65 72 79 74 68 69 6e 67 | 20 62 75 74 20 61 20 64 |erything| but a d|
|00000630| 6f 75 62 6c 65 20 71 75 | 6f 74 65 0a 0a 09 5c 22 |ouble qu|ote...\"|
|00000640| 09 67 65 74 20 61 20 64 | 6f 75 62 6c 65 20 71 75 |.get a d|ouble qu|
|00000650| 6f 74 65 0a 0a 09 25 64 | 09 67 65 74 20 61 20 6e |ote...%d|.get a n|
|00000660| 75 6d 62 65 72 0a 0a 49 | 66 20 49 20 68 61 76 65 |umber..I|f I have|
|00000670| 20 74 68 65 20 74 65 78 | 74 3a 0a 0a 09 22 4a 6f | the tex|t:..."Jo|
|00000680| 65 20 53 6d 69 74 68 22 | 09 31 32 33 34 35 36 37 |e Smith"|.1234567|
|00000690| 38 39 0a 09 5e 5c 5f 5f | 5f 5f 5f 5f 5f 2f 5e 09 |89..^\__|_____/^.|
|000006a0| 5c 5f 5f 5f 5f 5f 5f 5f | 2f 0a 09 7c 20 20 20 20 |\_______|/..| |
|000006b0| 7c 20 20 20 20 7c 20 20 | 20 20 20 20 20 20 20 7c || | | ||
|000006c0| 0a 09 7c 20 20 20 20 7c | 20 20 20 20 7c 20 20 20 |..| || | |
|000006d0| 20 20 20 20 20 20 25 64 | 0a 09 7c 20 20 20 20 7c | %d|..| ||
|000006e0| 20 20 20 20 5c 22 0a 09 | 7c 20 25 5b 5e 5c 22 5d | \"..|| %[^\"]|
|000006f0| 0a 09 7c 0a 09 5c 22 0a | 0a 45 6d 61 69 6c 3a 20 |..|..\".|.Email: |
|00000700| 64 61 72 72 65 6c 6c 2e | 67 72 61 69 6e 67 65 72 |darrell.|grainger|
|00000710| 40 75 74 6f 72 6f 6e 74 | 6f 2e 63 61 0a 0a |@utoront|o.ca.. |
+--------+-------------------------+-------------------------+--------+--------+